import request from '@/utils/request'

export function getUserPage(page = 1, options = {}, pageSize = 12) {
  return request({
    url: '/api/user',
    params: {
      page,
      ...options,
      pageSize
    }
  })
}

export function Disable(obj) {
  return request({
    url: `/api/user/update`,
    method: 'post',
    data: obj
  })
}

